<%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="true" CodeFile="ExportVenuesForPlacementTypeToExcel.aspx.cs" Inherits="Export_ExportVenuesForPlacementTypeToExcel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="gvVenues" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="VenueName" HeaderText="VenueName" SortExpression="VenueName" />
                <asp:BoundField DataField="TelephoneNumber" HeaderText="TelephoneNumber" SortExpression="TelephoneNumber" />
                <asp:BoundField DataField="Fax" HeaderText="Fax" SortExpression="Fax" />
                <asp:BoundField DataField="GenericEmail" HeaderText="GenericEmail" SortExpression="GenericEmail" />
                <asp:CheckBoxField DataField="IsRestricted" HeaderText="IsRestricted" SortExpression="IsRestricted" />
                <asp:BoundField DataField="MaxNumStudents" HeaderText="MaxNumStudents" SortExpression="MaxNumStudents" />
                <asp:CheckBoxField DataField="VenueSuppliedEducator" HeaderText="VenueSuppliedEducator"
                    SortExpression="VenueSuppliedEducator" />
                <asp:BoundField DataField="Address1" HeaderText="Address1" SortExpression="Address1" />
                <asp:BoundField DataField="Address2" HeaderText="Address2" SortExpression="Address2" />
                <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                <asp:BoundField DataField="DivisionName" HeaderText="DivisionName" SortExpression="DivisionName" />
                <asp:BoundField DataField="PostCode" HeaderText="PostCode" SortExpression="PostCode" />
                <asp:BoundField DataField="CountryName" HeaderText="CountryName" SortExpression="CountryName" />
                <asp:BoundField DataField="Longitude" HeaderText="Longitude" SortExpression="Longitude" />
                <asp:BoundField DataField="Latitude" HeaderText="Latitude" SortExpression="Latitude" />
            </Columns>
        </asp:GridView>
    
    </div>
        <asp:ObjectDataSource ID="odsVenues" runat="server" OldValuesParameterFormatString="original_{0}"
            SelectMethod="SelectAllWPlacementTypeId" TypeName="PlacementManager.vwVenuesWPlacementTypeComponent">
            <SelectParameters>
                <asp:QueryStringParameter DefaultValue="1" Name="placementTypeId" QueryStringField="PlacementTypeId"
                    Type="Int32" />
                <asp:Parameter DefaultValue="VenueName" Name="sortExpression" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </form>
</body>
</html>
